#include "logdescription.h"
#include <QString>
#include <QStringList>
#include <QFileInfo>
#include <QDir>

void LogDescription::getFileList(QString aPath){
    QDir dir(aPath);
    foreach(QFileInfo fi, dir.entryInfoList())
    {
        QString szFileName = fi.absoluteFilePath();
        if( fi.isDir())
        {
            if( fi.fileName()=="." || fi.fileName()=="..")
                continue;
            getFileList(szFileName);
        }
        if(fi.isFile())
        {
            gFileList->append(fi.absoluteFilePath());
        }
    }
}




